import { getRequest, postRequest } from "@/lib/axios";
import {
  ORDERLIST,
  USDTCHAINLIST,
  PAYORDERREFUND,
} from "@/config/api-constant/ExAssistant";

//商户支付渠道列表
export const orderListApi = (param, type) => {
  return getRequest(ORDERLIST, param, type);
};

export const usdtChainListApi = (param) => {
  return getRequest(USDTCHAINLIST, param);
};

//商户收到退款记录
export const payOrderRefundApi = (param, type) => {
  return postRequest(PAYORDERREFUND, param, type);
};

//拒付订单
export const payOrderDisputeApi = (param, type) => {
  return postRequest("/exassistant/order_dispute_list", param, type);
};
